home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / std / c++ / 44 < prev    next >
Encoding:
Internet Message Format  |  1996-08-06  |  2.5 KB

  1. From: "Eugene Radchenko" <eugene@qsar.chem.msu.su>
  2. Message-ID: <ABxJr-m8f0@qsar.chem.msu.su>
  3. X-Original-Date: Tue, 16 Jan 1996 10:34:19 +0300 (MSK)
  4. Path: in2.uu.net!bounce-back
  5. Date: 16 Jan 96 10:58:33 GMT
  6. Approved: fjh@cs.mu.oz.au
  7. Newsgroups: comp.std.c++
  8. Organization: Lab. of Org.Synth., MSU
  9. X-Mailer: dMail [Demos Mail for DOS v1.23]
  10. Subject: >>long long exists?
  11. X-Auth: PGPMoose V1.1 PGP comp.std.c++
  12.     iQBFAgUBMPuFBOEDnX0m9pzZAQGDcgGAlpmzhT7nj9LIMgjRvMSnrxgzwLJT4sWo
  13.     N9xrrfG6viSjt+DLBVHkH8Xo23l0GEFu
  14.     =fkqF
  15.  
  16. Hello!
  17. James Kanze <kanze@lts.sel.alcatel.de> writes
  18. >In article <4ctcgo$fmr@lyman.pppl.gov> Haim Kreitman
  19. ><haim_kreitman@mail.stil.scitex.com> writes:
  20. >
  21. >|> I saw in some places type 'long long'.
  22. >|> Is this type exist in ANSI-DRAFT ?
  23. >
  24. >No.  There is some discussion in the C standards committee of adding
  25. >it, or even something more elaborate.  If you want to get more
  26. >information than you can possibly read, just post to comp.std.c that C
  27. >absolutly needs a `long long' type.
  28.  
  29. But C and C++ are different languages (And my postmaster is not happy with
  30. my 30K/day new articles list even without my subscription to c.s.c). Maybe
  31. someone will be so kind as to review the arguments against it (I could not
  32. invent one). It would be very nice to have a type with a guaranteed range
  33. (I think that was the motivation of the grumbles here about __int64 some
  34. time ago). It may be needed even on 32-bit computers (how do you address
  35. sectors (and file positions) on the 9G Barracuda drive, for instance?).
  36.  
  37.           Best regards                     Genie
  38.  
  39. PS. What about standard arbitrary precision integer class template
  40. wint_t<size_t bytes>, with the specialization using hardware long long if
  41. available? BTW, the constantly recurring question - is there the arbitrary
  42. precision int class somewhere?
  43.  
  44.     [[Moderator's note: replies to that last question should be directed 
  45.     to the poster and/or comp.lang.c++[.moderated], please. -fjh.]]
  46. --
  47. --------------------------------------------------------------------
  48. Eugene V. Radchenko           Research associate, Computer Chemistry
  49. E-mail: eugene@qsar.chem.msu.su                Fax: +7-(095)939-0290 
  50. Ordinary mail:  Chair of Organic Chemistry, Department of Chemistry,
  51.                       Moscow State University, 119899 Moscow, Russia
  52. *****************  Disappearances are deceptive  *******************
  53. ---
  54. [ comp.std.c++ is moderated.  Submission address: std-c++@ncar.ucar.edu.
  55.   Contact address: std-c++-request@ncar.ucar.edu.  The moderation policy
  56.   is summarized in http://dogbert.lbl.gov/~matt/std-c++/policy.html. ]
  57.